<?php

namespace App\Kuafu\Mybank\Enum;

use App\Kuafu\Base\Enum\BaseCodeEnum;

class MyBankWalletRecordEnum extends BaseCodeEnum
{

    // 定义钱包记录类型 walletRecordType
    const WALLET_RECORD_TYPE_INCOME_MT      = 1; // 分账收入（美团）
    const WALLET_RECORD_TYPE_INCOME_CASH    = 2; // 分账收入（收银）
    const WALLET_RECORD_TYPE_INCOME_ELM     = 3; // 分账收入（饿了么）
    const WALLET_RECORD_TYPE_INCOME_PAY     = 4; // 充值收入
    const WALLET_RECORD_TYPE_OUT_GOODS      = 5; // 订货支出
    const WALLET_RECORD_TYPE_OUT_SERVER     = 6; // 服务费支出
    const WALLET_RECORD_TYPE_OUT_WITHDRAWAL = 7; // 提现支出
    const WALLET_RECORD_TYPE_REFUND_GOODS   = 8; // 订货退款
    const WALLET_RECORD_TYPE_REFUND_SERVER  = 9; // 服务费退款

    const WALLET_RECORD_TYPE_TEXT  = [
        self::WALLET_RECORD_TYPE_INCOME_MT      => '分账收入（美团）',
        self::WALLET_RECORD_TYPE_INCOME_CASH    => '分账收入（收银）',
        self::WALLET_RECORD_TYPE_INCOME_ELM     => '分账收入（饿了么）',
        self::WALLET_RECORD_TYPE_INCOME_PAY     => '充值收入',
        self::WALLET_RECORD_TYPE_OUT_GOODS      => '订货支出',
        self::WALLET_RECORD_TYPE_OUT_SERVER     => '服务费支出',
        self::WALLET_RECORD_TYPE_OUT_WITHDRAWAL => '提现支出',
        self::WALLET_RECORD_TYPE_REFUND_GOODS   => '订货退款',
        self::WALLET_RECORD_TYPE_REFUND_SERVER  => '服务费退款',
    ];
}